
<h1><span class="yiyi-st" id="yiyi-13">numpy.ma.MaskedArray.harden_mask</span></h1>
        <blockquote>
        <p>原文：<a href="https://docs.scipy.org/doc/numpy/reference/generated/numpy.ma.MaskedArray.harden_mask.html">https://docs.scipy.org/doc/numpy/reference/generated/numpy.ma.MaskedArray.harden_mask.html</a></p>
        <p>译者：<a href="https://github.com/wizardforcel">飞龙</a> <a href="http://usyiyi.cn/">UsyiyiCN</a></p>
        <p>校对：（虚位以待）</p>
        </blockquote>
    
<dl class="method">
<dt id="numpy.ma.MaskedArray.harden_mask"><span class="yiyi-st" id="yiyi-14"> <code class="descclassname">MaskedArray.</code><code class="descname">harden_mask</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference external" href="http://github.com/numpy/numpy/blob/v1.11.3/numpy/ma/core.py#L3443-L3456"><span class="viewcode-link">[source]</span></a></span></dt>
<dd><p><span class="yiyi-st" id="yiyi-15">强迫面具硬。</span></p>
<p><span class="yiyi-st" id="yiyi-16">掩码数组的掩码是硬还是软由其<a class="reference internal" href="../maskedarray.baseclass.html#numpy.ma.MaskedArray.hardmask" title="numpy.ma.MaskedArray.hardmask"><code class="xref py py-obj docutils literal"><span class="pre">hardmask</span></code></a>属性决定。</span><span class="yiyi-st" id="yiyi-17"><a class="reference internal" href="numpy.ma.harden_mask.html#numpy.ma.harden_mask" title="numpy.ma.harden_mask"><code class="xref py py-obj docutils literal"><span class="pre">harden_mask</span></code></a>将<a class="reference internal" href="../maskedarray.baseclass.html#numpy.ma.MaskedArray.hardmask" title="numpy.ma.MaskedArray.hardmask"><code class="xref py py-obj docutils literal"><span class="pre">hardmask</span></code></a>设置为True。</span></p>
<div class="admonition seealso">
<p class="first admonition-title"><span class="yiyi-st" id="yiyi-18">也可以看看</span></p>
<p class="last"><span class="yiyi-st" id="yiyi-19"><a class="reference internal" href="../maskedarray.baseclass.html#numpy.ma.MaskedArray.hardmask" title="numpy.ma.MaskedArray.hardmask"><code class="xref py py-obj docutils literal"><span class="pre">hardmask</span></code></a></span></p>
</div>
</dd></dl>
